package src.com.unapec.seguridad.login.model;

import org.apache.naming.resources.BaseDirContext;

public class Main {
	
	public static void main(String[] args) {
		
		BDManager bdm = new BDManager();
		bdm.write("r121187", new Encryption().encrypt("875963"));
		
		String password =  bdm.getPassword("r121187");
		
		System.out.println(password);
		System.out.println(String.valueOf(new Decryption().decrypt(password).getBytes()));
		
	}
	
	
}
